import request from '@/utils/request'

/**
* OP60盖板底座焊丝组合分页查询
* @param {查询条件} data
*/
export function listDcOp50Record(query) {
  return request({
    url: 'business/DcOp50Record/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增OP60盖板底座焊丝组合
* @param data
*/
export function addDcOp50Record(data) {
  return request({
    url: 'business/DcOp50Record',
    method: 'post',
    data: data,
  })
}
/**
* 修改OP60盖板底座焊丝组合
* @param data
*/
export function updateDcOp50Record(data) {
  return request({
    url: 'business/DcOp50Record',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取OP60盖板底座焊丝组合详情
* @param {Id}
*/
export function getDcOp50Record(id) {
  return request({
    url: 'business/DcOp50Record/' + id,
    method: 'get'
  })
}

/**
* 删除OP60盖板底座焊丝组合
* @param {主键} pid
*/
export function delDcOp50Record(pid) {
  return request({
    url: 'business/DcOp50Record/delete/' + pid,
    method: 'delete'
  })
}
